package com.shop.cereshop.app.param.wallet;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 钱包支付余额检查请求参数
 */
@Data
@ApiModel("钱包支付余额检查请求参数")
public class WalletPayCheckRequest {

    @ApiModelProperty(value = "订单ID", required = true, example = "12345")
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @ApiModelProperty(value = "订单类型 1-父订单 2-子订单", required = true, example = "2")
    @NotNull(message = "订单类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "拼单id")
    private Long collageId;
}
